RawBitmap Buoy package.

RawBitmap.PixelAlpha Method

Sets the alpha value for pixel at given location

PixelAlpha(
   x as Integer,
   y as Integer,
   assigns value as UInt8)

Parameters

x
The x coordinate to set or get (zero based)
y
The x coordinate to set or get (zero based)
value (assign parameter)
The alpha value 0 - 255 as its represented in a bitmap

Remarks

If the RawBitmap has no alpha channel then this getter / setter function does nothing.

This method has no meaningful result when using CMYK colorspace.

This method does nothing on 16bit per channel bitmaps.

See Also

RawBitmap Class